<?php
header("content-type:text/html;charset=utf-8"); 
while(true){
	sleep(20);
	// 到时间自动设置开盘和封盘
	// file_get_contents("http://www.lsamui.com/index.php/admin/controltime/closedevice");
	echo "success";
	echo "\n";
	echo (date("Y-m-d:h:i:sa",time()));
	echo "\n";
}
?>